bug#78901: [PATCH] js-ts-mode: Fix auto-mode-alist regexp
authorLiam Hupfer <liam@hpfr.net>
Thu, 26 Jun 2025 03:47:34 +0000 (22:47 -0500)
committerEli Zaretskii <eliz@gnu.org>
Sat, 28 Jun 2025 10:11:01 +0000 (13:11 +0300)
commit6299eb0fe54c87bcbb0f6ab4de3e4f9e250d4586
tree4ac7eed60aa03d71fce72ec16deea17da076f524
parent982938363ad2d8307f241d752223eb91dc195b08
bug#78901: [PATCH] js-ts-mode: Fix auto-mode-alist regexp

Align the js-ts-mode entry with the javascript-mode entries in the
default auto-mode-alist value in lisp/files.el. Otherwise, js-ts-mode is
not associated with .js files.

* lisp/progmodes/js.el (js-ts-mode): Fix auto-mode-alist regexp.

Fixes: 2023-01-20 6b2f85caa6ca "Make tree-sitter based modes optional"
lisp/progmodes/js.el